Directional optimization via ebw

ABSTRACT

An optimization system and method includes determining a best gradient as a sparse direction in a function having a plurality of parameters. The sparse direction includes a direction that maximizes change of the function. This maximum change of the function is determined by performing an optimization process that gives maximum growth subject to a sparsity regularized constraint. An extended Baum Welch (EBW) method can be used to identify the sparse direction. A best step size is determined along the sparse direction by finding magnitudes of entries of direction that maximizes the function restricted to the sparse direction. A solution is recursively refined for the function optimization using a processor and storage media.

BACKGROUND

1. Technical Field

The present invention relates to optimization of functions and more particularly to a system and method for optimizing functions with a large number of parameters.

2. Description of the Related Art

Optimization of functions with a large number of parameters is very complex. A few techniques for function optimization include an exact computation of a Hessian matrix for Newton type of optimization methods. This type of computation is difficult since it requires processing around a squared number of parameters. This results in a slow speed and memory overload in many instances.

Hill-climbing algorithms require step sizes being defined for each iteration and also have a relatively slow convergence. Optimization algorithms that are based on approximated versions of Hessians are counter-intuitive and difficult to customize to specific tasks in which a learning ratio is needed to be controlled.

Therefore, there is a need for an optimization method and system for optimization for a large number of parameters that is fast, intuitive and easy to customize to special tasks.

SUMMARY

An optimization system and method includes determining a best gradient as a sparse direction in a function having a plurality of parameters. The sparse direction includes a direction that maximizes change of the function. This maximum change of the function is determined by performing an optimization process that gives maximum growth subject to a sparsity regularized constraint. An extended Baum Welch (EBW) method can be used to identify the sparse direction. A best step size is determined along the sparse direction by finding magnitudes of entries of direction that maximizes the function restricted to the sparse direction. A solution is recursively refined for the function optimization using a processor and storage media.

An optimization method includes determining a best gradient as a sparse direction in a function having a plurality of parameters, the sparse direction including a direction that maximizes change of the function as determined by an optimization method where a sparse direction is defined from sparse regularized constraints. A best step size is determined along the sparse direction by finding magnitudes of entries of direction by solving an optimization problem that is constrained to the sparse direction. A solution to the optimization problem is recursively refined using a processor and storage media until a threshold constraint is met.

A system for optimization of a function with a large number of parameters includes a processor configured to determine a best gradient as a sparse direction in a function having a plurality of parameters. The sparse direction includes a direction that maximizes change of the function as determined by an optimization method where a sparse direction is defined from sparse regularized constraints. The processor is configured to determine a best step size along the sparse direction by solving an optimization problem to find magnitudes of entries of direction that are constrained to the sparse direction. A memory storage device includes a recursively refined stored solution for an optimization solution of the function.

These and other features and advantages will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF DRAWINGS

The disclosure will provide details in the following description of preferred embodiments with reference to the following figures wherein:

FIG. 1 is a block/flow diagram showing an optimization system and method in accordance with one illustrative embodiment;

FIG. 2 is a plot showing signal reconstruction with extended Extended Baum Welch (EBW) for 100,000 parameters;

FIG. 3 is a plot showing signal reconstruction with an Extended Kalman Filter (EKF);

FIG. 4 is a plot showing signal reconstruction with an Extended Baum Welch (EBW) method; and

FIG. 5 is a block/flow diagram showing an optimization system in accordance with the present principles.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

In accordance with the present principles, a system and method provides an optimization that can efficiently handle a large number of parameters and is simpler to use than conventional methods. In one embodiment, an optimization splits an optimization recursion process into parts, e.g., two parts. In a first part, optimizational direction is efficiently define via an Extended Baum-Welch (EBW) method for discrete parameters (EBWD). In a second part, a step along the direction is determined. A search for a best step along a direction can be represented as finding magnitudes of entries of direction by parallelizing entries into an independent set of parameters that can be processed independently of each other.

As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).

Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the FIGS. illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Referring now to the drawings in which like numerals represent the same or similar elements and initially to FIG. 1, a block/flow diagram illustratively shows a system/method for optimizing a function in accordance with one exemplary embodiment. In block 10, a function to be optimized is provided. The function may include a large number of parameters (e.g., hundreds or even thousands) which may provide one or more directions which make the solution very complex. A direction of the function at a point is defined as a weighted sum of base vectors that belongs to a linear subspace that passes through this point.

In block 12, an optimization recursion process is split into at least two parts. In block 14, optimizational direction (sparse direction) is efficiently defined via an optimization method, e.g., an Extended Baum-Welch (EBW) method for discrete parameters (EBWD). This will be explained in greater detail below. In block 16, a step along the sparse direction is determined. A search for a best step along directions can be represented as finding magnitudes of entries that are weights identified as non-zero components in the sparse direction. In block 18, an optimized parameter set or optimized data are provided or output for the given function.

It should be understood that the present embodiments may be implemented in a plurality of technologies for a plurality of different optimization applications. As illustratively described the present principles are described with reference to a general function; however, the function may represent any of a plurality of quantities. For example, the function may represent a scheduling function with a plurality of parametric constraints, may represent a vector or tensor with a large number of variables, may represent the motion of an object three dimensions, etc. Other examples of the function include, e.g., a maximum mutual information function that represents information between data and labels of this data, a maximum entropy function, functions associated with a support vector machine, etc. This list is non-exhaustive as it represents but a few possible applications which can be described by a function to be optimized.

In block 14, a direction is defined. EBWD was initially suggested for optimizing an arbitrary (differential) function over a probability discrete domain. To apply EBWD to an arbitrary function for unconstrained optimization, one can represent directions as the following. Let F(x) be a differentiable function (block 10 of FIG. 1) of

$\begin{matrix} {{{x = \left\{ x_{i} \right\}},{v = {\left\{ v_{i} \right\} \in R^{n}}},{i = 1},{\ldots \mspace{14mu} n},{where}}{{\max_{v}{F\left( {v_{0} + v} \right)}} - {F\left( v_{0} \right)}}{{{subject}\mspace{14mu} {to}\mspace{14mu} \left( {s.t.} \right){v}_{1}} < ɛ}} & (1) \end{matrix}$

R is one dimensional real space; R^(n) is n dimensional real space. Direction is a vector v={v_(i)} consisting of variables v_(i). ∥v∥₁ is norm 1 of a vector v=(v₁, v₂, . . . v_(L)) and is defined as

${v}_{1} = {\sum\limits_{i = 1}^{L}{v_{i}}}$

where v_(i) are real numbers (components of the vector v) and |v_(i)| are absolute values of v_(i). The direction vector v belongs to a subspace that passes through the point v₀.

For sufficiently small ε, this approximates finding a best gradient:

$\begin{matrix} {\max_{v}{\frac{\partial{F\left( {v_{0} + v} \right)}}{\partial v}.}} & (2) \end{matrix}$

Therefore, the gradient of function F(v) at point v₀ is computed as

${\frac{F}{v}}_{v_{0}}{(v).}$

We can replace this expression with the following approximation:

$\frac{{F\left( {v_{0} + v} \right)} - {F\left( {v + w} \right)}}{v}$

adding the constraint that ∥v∥₁<ε. Essentially we replace the step of finding a gradient of maximum growth (the usual step in optimization) with a problem of finding a gradient that gives maximum growth subject to a sparsity regularized constraint. So the optimization is done in accordance with this sparse constraint, e.g., ∥v∥₁<ε. Thus, the gradient problem becomes Eq. (1).

A ball for a norm 1 is a set of vectors that satisfies inequality ∥v∥₁<ε where s is some number (e.g., a threshold). The smaller epsilon, the smaller the ball is. The ball is a metaphoric name. For example, a best gradient includes identifying a size ε of a directional ball for determining the best direction for a directional optimization problem in parameter space of the plurality of parameters. Given the sparse direction, a larger directional ball R along the sparse direction may be determined (e.g, by performing the extended Baum-Welch method) so that a sub-optimal size inside R can be identified. The R ball is just a notation of a different ball.

In block 16, magnitudes are defined. After a best direction {tilde over (v)} is defined from Eq. (1), we need to find xεR^(n) that optimizes max_(s) F(v₀+s{tilde over (v)}) (3) where sv={s_(i)}{v_(i)}={s_(i)v_(i)} is a multiplication by components.

This can be performed by either using traditional optimization methods or formulating this as a constrained problem with linear domain constraints that can be solved via EBWD. EBWD is a method for optimizing a general function of a discrete probability domain. The method uses a first derivative and projection on the probability domain. Therefore, it is a large scale method.

Then, a new point can be defined x=v₀+sv as a result of the phases performed in blocks 14 and 16. This is an inteimmediate result. To get a final result blocks 14 and 16 need to be performed recursively, updating point x until some threshold condition(s) is met.

In block 12, the recursion includes starting with a point x_(k), k=0. A sparse direction {tilde over (v)} is computed using Eq. (1) (block 14). A best step s={s_(i)} is computed using Eq. (3), and then next point x_(k)=s*{tilde over (v)} (block 16). If threshold criteria are met, stop the process and consider x_(k) as the outcome of the optimization process. Otherwise, k=k+1 and go to block 14.

Using some mathematical manipulations, we can rewrite function F(v) into another space G(z) and thus the above gradient computation is formulated as

max_(z)G(z) s.t. z_(q)ɛ

Norm q, where q is some positive number, of a vector z=(z₁, z₂, . . . z_(L)) is defined as

${z}_{q} = {\sum\limits_{i = 1}^{L}{\left( {z_{i}}^{q} \right)^{1/q}.}}$

This problem cannot be solved using available algorithms, such as, e.g., LASSO. One problem with LASSO is that it does not work for a large number of parameters. Therefore, we can take F(v) and again with some mathematical manipulation, express it as a function G(z) and thus the gradient computation is formulated as:

max_(z)G(z) s.t.  ∑z_(i) = 1, z₁ ≥ 0

This solution has a simple EBW solution for finding magnitudes employed in determined the step sized along a direction. The computation of the gradient can be represented using EBW. EBW for finding magnitude may include the following. Let ε>0 be an upper boundary that ∥v∥₁ does not exceed. Let us re-formulate (3) as the following

$\begin{matrix} {{\max_{m}{F\left( {x_{0} + {xv}} \right)}}{{s.t.\mspace{14mu} {x}_{1}} \leq ɛ}} & (4) \end{matrix}$

The solution to Eq. (4) is given below.

DISCRETE EBW: Let F(x) be a differentiable function of x={x_(i)}εR^(n), i=1, . . . n . Let us consider the following problem:

$\begin{matrix} {{\max \; {F(x)}}{{s.t.\mspace{14mu} {x}_{1}} \leq ɛ}} & (5) \end{matrix}$

We solve this problem by transforming Eq. (26), as set forth below, into a problem over a probability domain for which EBW update rules exist. Let us transform this problem into the following: Turning (26) into an equality, let x₀≧0 be a dummy variable and let us consider the following problem with the dummy variable added:

$\begin{matrix} {{\max \; {F(x)}}{{{{subject}\mspace{14mu} {x}_{1}} + x_{0}} \leq {ɛ.}}} & (6) \end{matrix}$

Note adding a dumb non-negative variable is employed to map a fractional ball constrained inequality into a fractionally constrained multi-dimensional sphere. Turning ε into 1 (norm 1), let v_(i)=x_(i)/ε, i=0, . . . n . Let F(x)=F({εv_(i)})=G(v) let us consider the following problem

max   G(v) ${{\text{subject to}\mspace{14mu} {\sum\limits_{i}{v_{i}}_{1}}} + v_{0}} = 1$

(7). This transforms the fractional multi-dimensional sphere into a norm one sphere. The norm one sphere can be mapped into a simplex of non-negative numbers, and an objective function over the norm one sphere may be transformed into the objective function over the simplex of non-negative numbers.

Reduction to discrete EBW: Let us consider the following problem:

$\begin{matrix} {{\max \; {F(x)}}{{{subject}\mspace{14mu} {to}\mspace{14mu} {x}_{1}} = 1}} & (8) \end{matrix}$

Let us set

$\begin{matrix} {{x}_{1} = {{\sum{x_{i}}} = {\sum\limits_{i}{{\sigma \left( x_{i} \right)}x_{i}}}}} & (9) \end{matrix}$

where

σ(x _(i))=1 if x _(i)≧0 and σ(x _(i))=−1 if x _(i)≦0. Let

G(z)=F({σ(x _(i))σ(x _(i))x _(i)})=F(σ(x _(i))z _(i))  (10)

where z={z_(i)}={σ(x_(i))x_(i)} Then the Eq. (26) is equivalent to the following problem:

$\begin{matrix} {{\max \; {G(z)}}{{{{subject}\mspace{14mu} {to}\mspace{14mu} {\sum z_{i}}} = 1},{z_{i} \geq 0.}}} & (11) \end{matrix}$

This maps the sphere normalized to one into a simplex of non-negative numbers. An objective function over the norm one sphere may be transformed into an objective function over the simplex.

Problems of the type of Equation (11) have EBW based solutions that can be described as the following:

$\begin{matrix} {z_{i}^{t + 1} = {{z_{i}^{t + 1}(D)} = \frac{\left( {c_{i} + D} \right)z_{i}^{t}}{{\sum_{j}{c_{j}z_{j}^{t}}} + D}}} & (12) \end{matrix}$

where t is an index and

$\begin{matrix} {c_{j} = {{c_{j}\left( z^{t} \right)} = {\frac{\partial{G\left( z^{t} \right)}}{\partial z_{j}^{t}}.}}} & (13) \end{matrix}$

It has been proved that Eq. (29) provides growth transformations for sufficiently large D if G is a differentiable function in z, i.e., consequent applications of Eq. (29) converge to a local maximum of G(z) in the domain Σz_(i)=1, z_(i)≦0. D is a constant that controls growth of the function that is being optimized.

Reduction to discrete EBW is illustratively depicted in a recursive form. Eq. (8) is represented below in a recursive form.

I) set initial conditions for the recursion. Initially, x ⁰ ={x _(i) ⁰ εR ¹ }s.t.∥x ⁰∥₁=1  (14).

II) z _(i) ^(t)=σ(x _(i) ^(t))x _(i) ^(t)  (15).

III) G _(t)(z ^(t))=F({σ(x _(i) ^(t))σ(x _(i) ^(t))x _(i) ^(t)})=F(σ(x _(i) ^(t))z _(i) ^(t))  (16)

(substitution from block 24).

$\begin{matrix} {{\left. {IV} \right)\mspace{14mu} c_{j}} = {{c_{j}\left( z^{t} \right)} = {\frac{\partial{G_{t}\left( z^{t} \right)}}{\partial z_{j}^{t}}.}}} & (17) \\ {{\left. V \right)\mspace{14mu} z_{i}^{t + 1}} = {{z_{i}^{t + 1}(D)} = {\frac{\left( {c_{i} + D} \right)z_{i}^{t}}{{\sum\limits_{j}{c_{j}z_{j}^{t}}} + D}.}}} & (18) \\ {{\left. {VI} \right)\mspace{14mu} D^{*}} = {\arg \; {\max\limits_{D}{{G_{t}\left( \left\{ {z_{i}^{t + 1}(D)} \right\} \right)}.}}}} & (19) \\ {{\left. {VII} \right)\mspace{14mu} x_{i}^{t + 1}} = {{z_{i}^{t + 1}\left( D^{*} \right)}.}} & (20) \end{matrix}$

VIII) The program returns to step 1I. The quantities computed are indexed using index i.

Special numerical example: Let us start with a simple simulation example of a cubic homogenous polynomial

$\begin{matrix} {P = {{P(z)} = {\sum\limits_{\upsilon}{a_{\upsilon}z^{\upsilon}}}}} & (21) \end{matrix}$

where υ={υ₀, υ₁, υ₂|v_(i)≦0, Συ_(i)=3} is a tuple of integers and

$z^{\upsilon} = {\prod\limits_{i = 0}^{i = 2}{z_{i}^{\upsilon_{i}}.}}$

In a case that G_(t)(z^(t))=P(z^(t)):

$\begin{matrix} {\frac{\partial{G_{t}\left( z^{t} \right)}}{\partial z_{j}^{t}} = {\sum{a_{\upsilon}\upsilon_{j}z^{\overset{\_}{\upsilon}{(j)}}}}} & (22) \end{matrix}$

where υ=(j)_(i) if i≠j and υ(j)_(j)=υ_(j)−1.

CONTINUOUS CASE (GAUSSIAN): Let us start with a simple simulation example of cubic homogenous polynomials

P=P(Z)=Σa _(υ) z ^(υ)  (23)

Q=Q(Z)=Q(Z)=b _(υ) z ^(υ)  (24)

with non-negative coefficients a_(υ), b_(υ) where

z _(i)(x,μ,σ)=½π^(1/2) exp(−½(x _(i)=μ)²/σ²  (25)

iε{0,1,2}, x_(i) are arbitrary scalars (we do not require them to be nonnegative or sum up to 1) and μ, σ are model parameters. υ=υ₀, υ₁, υ₂|υ_(i)≦0, Συ_(i)=3} is a tuple of integers and

$z^{\upsilon} = {\prod\limits_{i = 0}^{i = 2}{z_{i}^{\upsilon_{i}}.}}$

Next, let F(z)=P(z)/Q(z) and z={z_(i)}.

Let us consider the following problem:

$\begin{matrix} {{\max \; {F(x)}}{{{subject}\mspace{14mu} {x}_{1}} = 1}} & (26) \end{matrix}$

We can suggest two different solutions for this problem. The description of the solution is as follows. Let t=0, 1, . . . .

G(z ^(t))=F({σ(x _(i) ^(t))z _(i) ^(t))  (27)

where z_(i) ⁰=σ(x_(i))x_(i), z_(i) ^(t)=σ(x_(i) ^(t))x_(i) ^(t) and x_(i) ^(t), z_(i) ^(t) are defined recursively as follows:

$\begin{matrix} {c_{j}^{t} = {{c_{j}^{t}\left( z^{t} \right)} = \frac{{\partial\log}\; {G\left( z^{t} \right)}}{\partial z_{j}^{t}}}} & (28) \\ {x_{i}^{t + 1} = {{x_{i}^{t + 1}\left( \hat{D} \right)} = {\frac{\left( {c_{i}^{t} + \hat{D}} \right)z_{i}^{t}}{{\sum\limits_{j}{c_{j}^{t}z_{j}^{t}}} + \hat{D}}.}}} & (29) \end{matrix}$

Here {circumflex over (D)} can be chosen as

$\begin{matrix} {\hat{D} = {\arg \; {\max\limits_{D}{{F\left( {x_{i}^{t + 1}(D)} \right)}.}}}} & (30) \end{matrix}$

D is a constant that controls growth of the function that is being optimized when {circumflex over (D)} is updated. {circumflex over (D)} is chosen as which D gives maximum growth (e.g., this needs a solution of an optimization problem (Eq. 30) in D to find {circumflex over (D)}).

In what follows, we give more detailed calculations for Eq. (28). Let

$\begin{matrix} {z = {{z_{i}^{t}\left( {x,\mu,\sigma} \right)} = {{1/2}\pi^{1/2}{\exp \left( {{{- 1}/2}{\left( {x_{i}^{t} - \mu} \right)^{2}/\sigma^{2}}} \right)}}}} & (31) \\ {{{{Let}\mspace{14mu} {H\left( \left\{ {z_{i}^{t}\left( {x,\mu,\sigma} \right)} \right\} \right)}} = {G\left( \left\{ x_{i}^{t} \right\} \right)}}{Then},{\frac{{\partial\log}\; {G\left( x^{t} \right)}}{\partial x_{i}^{t}} = {{\frac{{\partial\log}\; {H\left( z^{t} \right)}}{\partial z_{i}^{t}}\frac{\partial z_{i}^{t}}{\partial x_{i}^{t}}} = {G\left( \left\{ x_{i}^{t} \right\} \right)}}},{where}} & (32) \\ {h_{i}^{t} = {{h_{i}^{t}(z)} = {\frac{{\partial\log}\; {R(z)}}{\partial z_{i}} = {{\frac{\partial{P(z)}}{\partial z_{i}}/{P(z)}} = {\frac{\partial{Q(z)}}{\partial z_{i}}/{{Q(z)}.}}}}}} & (33) \end{matrix}$

This implies:

c _(i) ^(t) =x _(i) └h _(i) ^(t) z _(i) ^(t)(−x _(i) ^(t)+μ)σ² +C┘  (34)

In simulation experiments one can choose x_(i) randomly and derive c_(i) ^(t) from Eq. (34) and update y_(i) ^(t) by solving Eq. (29). C is a tuning parameter that guarantees convergence. We need to check that updates in Eq. (34) and (29) converge to a local maximum of G(x) for sufficiently large C. Specifically, check that the following inequality is fulfilled for sufficiently large C: G(x^(t+1))≦G(x^(t)). One can also find an optimal C in simulation experiments.

We consider the following unconstrained problem: maxQ(P, ∥P∥₁) (35) where PεR^(L) and R^(L) is L dimensional real space.

General loop: Eq. (35) can be solved via the following steps:

1. Set initial value P⁰

2. Set d⁰=∥P⁰∥₁

3. Find P^(t+1)P^(t+1)(d^(t)) in a functional form of d^(t) s.t. ∥P^(t+1)∥₁=d^(t) and

Q(P ^(t+1) ,d ^(t))≦Q(P ^(t) ,d ^(t))  (36)

4. Find d^(t+1) s.t.

Q(P ^(t+1)(d ^(t+1)),d ^(t+1))≦Q(P ^(t+1) ,d ^(t))  (37)

5. Go to Step 3.

The solution of Step 3 includes: Set x⁰=P^(t+1)/d^(t) and F(x⁰)=Q(P^(t+1),d^(t)) Run several “EBW” recursions:

$\begin{matrix} {{\left. a \right)\mspace{14mu} {Set}\mspace{14mu} {initial}\mspace{14mu} {conditions}\text{:}\mspace{14mu} x^{0}} = {{\left\{ {x_{i}^{0} \in R^{1}} \right\} {s.t.{x^{0}}_{1}}} = 1}} & (38) \\ {{\left. b \right)\mspace{14mu} z_{i}^{t}} = {{\sigma \left( x_{i}^{t} \right)}x_{i}^{t}}} & (39) \\ {{\left. c \right)\mspace{14mu} {G_{t}\left( z^{t} \right)}} = {{F\left( \left\{ {{\sigma \left( x_{i}^{t} \right)}{\sigma \left( x_{i}^{t} \right)}x_{i}^{t}} \right\} \right)} = {F\left( {{\sigma \left( x_{i}^{t} \right)}z_{i}^{t}} \right)}}} & (40) \\ {{\left. d \right)\mspace{14mu} c_{j}} = {{c_{j}\left( z^{t} \right)} = \frac{\partial{G_{t}\left( z^{t} \right)}}{\partial z_{j}^{t}}}} & (41) \\ {{\left. e \right)\mspace{14mu} z_{i}^{t + 1}} = {{z_{i}^{t + 1}(D)} = \frac{\left( {c_{i} + D} \right)z_{i}^{t}}{{\sum\limits_{j}{c_{j}z_{j}^{t}}} + D}}} & (42) \end{matrix}$

For some applications we can also use an approximation form of Eq. (29).

$\begin{matrix} {z_{i}^{t + 1} = {{z_{i}^{t + 1}(D)} = {z_{i}^{t} + {\frac{\sum{c_{i}z_{i}^{t}}}{D}{\left( {1 - \frac{z_{i}^{t}c_{i}}{\sum{c_{j}z_{j}^{t}}}} \right).}}}}} & (43) \end{matrix}$

f) Find a “small” D*s.t. z_(i) ^(t+1)(D*) that satisfies some “external” conditions (e.g., is a “positive” as a covariance matrix, one can use approximate representation Eq. (43) to find D*).

G _(t)({z _(i) ^(t+1)(D*)})≦G _(t)({z _(i) ⁺¹(D)})  (44).

Remark: To find D* that makes a square covariance matrix positive one needs to solve a quadratic equation in D⁻¹:

$\begin{matrix} {{{{\left( {a_{11} + {D^{- 1}b_{11}}} \right)\left( {a_{22} + {D^{- 1}b_{22}}} \right)} - \left( {a_{12} + {D^{- 1}b_{12}}} \right)^{2}} \geq 0}{{{{where}\mspace{14mu} a_{ij}} + {D^{- 1}b_{ij}}} = {z_{i}^{t} + {\frac{\sum{c_{i}z_{i}^{t}}}{D}{\left( {1 - \frac{z_{i}^{t}c_{i}}{\sum{c_{j}z_{j}^{t}}}} \right).}}}}} & (45) \end{matrix}$ g) x _(i) ^(t+1) =z _(i) ^(t+1)(D*)  (46).

Go to Step b).

For an even more general case, we consider the following unconstrained problem: max{tilde over (Q)}(P,∥P∥₁,λ) (47), where PεR^(L), λεR¹. A recursion scheme for (47) includes the following:

1. Find λ^(t)(P,∥P∥₁) that satisfies

$\begin{matrix} {\frac{\partial{\overset{\sim}{Q}\left( {P^{t},{P^{t}}_{1},\lambda} \right)}}{\partial\lambda} = 0} & (48) \end{matrix}$

as function of P,∥P∥₁.

2. Solve: maxQ(P,∥P∥ ₁)={tilde over (Q)}(P ^(t) ,∥P ^(t)∥₁,λ^(t)(P,∥P∥ ₁))  (49)

Linear Problems: The benefit of using EBW for gradient computation is that can be used to solve optimization problems of large scale. For example, when trying to solve the following linear problem y=Hx+ε, LASSO was unable to solve this problem when the number of parameters x exceeded 100,000 whereas EBW was able to provide a solution. For example, FIG. 2 shows that EBW can reconstruct a noisy signal of 100,000 parameters. The squares in the figure are the true signal and the estimated signals are shown by crosses.

Non-Linear Problems: EBW can also be used to solve non-linear problems of the form y=f(x)+ε. Here f(x) is some non-linearity function over parameters x. One approach for solving this non-linear problem is by using an Extended Kalman Filter (EKF). FIGS. 3 and 4 respectfully show signal reconstruction using EKF and EBW. The squares are the true signal and the estimated signal are shown by lines. It can be seen that EBW does a much better job of signal reconstruction compared to EKF.

It should be understood that the optimization in accordance with the present principles provides a wide range of applications. In the example shown, signal reconstruction is performed using the optimization in accordance with the present embodiments. Signal reconstruction is applicable to many areas of endeavor, e.g., data classification, data compression, image processing, model probability density functions, speech recognition, telephony applications, financial market applications, etc. The signal reconstruction can involve a very large number of parameters in many such applications, e.g., in astronomy (when signals from whole space are received by a large number of antennas and a need to reconstruct special kinds of signals from noise generated by space radio signals exists), in fMRI analysis which can involve several hundred thousands of voxels, in telephone networks that can involve billions of Internet nodes where a need exists to analyze network traffic to detect patterns in certain situations (e.g., potential increase in terrorist activities), or in financial markets monitoring.

Referring to FIG. 5, a block diagram shows a system 100 for optimizing a function 110 in accordance with the present principles. System 100 is particularly useful for signal reconstruction applications. System 100 includes at least one processor 102 configured to determine a best gradient as a sparse direction in the function having a plurality of parameters. The sparse direction includes a direction that maximizes change of the function as determined by an optimization method where a sparse direction is defined from sparse regularized constraints. The processor 102 is configured to determine a best step size along the sparse direction by solving an optimization problem to find magnitudes of entries of direction that are constrained to the sparse direction. A memory storage device 104 includes memory storage media. The memory device 104 includes one or more programs 106. The program 106 is configured to recursively refine a stored solution for the function optimization.

The processor 102 and program 106 determine a size E of a directional ball which is employed as a constraint for determining the best direction in parameter space for the plurality of parameters. Alternatively, E may be user selected. The processor 102 preferably performs an extended Baum Welch optimization 108 to identify the sparse direction. This is applied to the directional ball to find the sparse direction through a point of interest. It should be understood that other optimization methods may be employed. Given the sparse direction, the processor 102 and/or program also determines a larger sized ball R along the sparse direction and preferably performs the extended Baum-Welch method to identify a sub-optimal size inside R. Other optimizations methods may also be employed. The function 110 may include a function subject to a fractional normalized constrained inequality. The present principles are particularly useful if the function 110 includes at least 100,000 parameters.

Having described preferred embodiments of a system and method directional optimization via EBW (which are intended to be illustrative and not limiting), it is noted that modifications and variations can be made by persons skilled in the art in light of the above teachings. It is therefore to be understood that changes may be made in the particular embodiments disclosed which are within the scope of the invention as outlined by the appended claims. Having thus described aspects of the invention, with the details and particularity required by the patent laws, what is claimed and desired protected by Letters Patent is set forth in the appended claims. 

1. An optimization method, comprising: determining a best gradient as a sparse direction in a function having a plurality of parameters, the sparse direction including a direction that maximizes change of the function as determined by an optimization method where a sparse direction is defined from sparse regularized constraints; determining a best step size along the sparse direction by finding magnitudes of entries of direction by solving an optimization problem that is constrained to the sparse direction; and recursively refining a solution to the optimization problem using a processor and storage media until a threshold constraint is met.
 2. The method as recited in claim 1, wherein determining a best gradient includes identifying a size s of a directional ball for determining the best direction for a directional optimization problem in parameter space of the plurality of parameters.
 3. The method as recited in claim 2, wherein determining a best gradient includes given the sparse direction, determining a larger directional ball R along the sparse direction; and identifying a sub-optimal size inside R.
 4. The method as recited in claim 1, wherein determining a best gradient includes performing an extended Baum Welch method to identify the sparse direction.
 5. The method as recited in claim 4, wherein performing an extended Baum Welch (EBW) method to identify the sparse direction includes solving the EBW with the following: $\begin{matrix} {z_{i}^{t + 1} = {{z_{i}^{t + 1}(D)} = \frac{\left( {c_{i} + D} \right)z_{i}^{t}}{{\sum\limits_{j}{c_{j}z_{j}^{t}}} + D}}} & (12) \end{matrix}$ where t, i and j are indexes, ${c_{j} = {{c_{j}\left( z^{t} \right)} = \frac{\partial{G\left( z^{t} \right)}}{\partial z_{j}^{t}}}},$ D is a constant that controls growth of function values, G is a differentiable function in z, which converges to a local maximum of G(z) in the domain Σz_(i)=1, z_(i)≦0.
 6. The method as recited in claim 1, wherein determining a best gradient includes computing the gradient as max_(v)F(v₀ + v) − F(v₀) s.t.  V₀₁ < ɛ where F is the function, v is a direction, direction vector v belongs to a subspace that passes through the point v₀, and a sparsity constraint includes ∥v∥<ε where ε is a threshold for the sparsity constraint.
 7. The method as recited in claim 1, wherein the function includes a function subject to a fractional normalized constrained inequality.
 8. The method as recited in claim 7, further comprising: adding a dumb non-negative variable to map the constrained inequality into a fractionally constrained multi-dimensional sphere; transforming the fractional multi-dimensional sphere into a norm one sphere; mapping the norm one sphere into a simplex of non-negative numbers; and transforming an objective function over the norm one sphere into the objective function over the simplex.
 9. A computer readable storage medium comprising a computer readable program for an optimization method, wherein the computer readable program when executed on a computer causes the computer to perform the steps of: determining a best gradient as a sparse direction in a function having a plurality of parameters, the sparse direction including a direction that maximizes change of the function as determined by an optimization method where a sparse direction is defined from sparse regularized constraints; determining a best step size along the sparse direction by finding magnitudes of entries of direction by solving an optimization problem that is constrained to the sparse direction; and recursively refining a solution to the optimization problem until a threshold constraint is met.
 10. The computer readable storage medium as recited in claim 9, wherein determining a best gradient includes identifying a size E of a directional ball for determining the best direction for a directional optimization problem in parameter space of the plurality of parameters.
 11. The computer readable storage medium as recited in claim 10, wherein determining a best gradient includes given the sparse direction, determining a larger directional ball R along the sparse direction; and identifying a sub-optimal size inside R.
 12. The computer readable storage medium as recited in claim 9, wherein determining a best gradient includes performing an extended Baum Welch method to identify the sparse direction.
 13. The computer readable storage medium as recited in claim 12, wherein performing an extended Baum Welch (EBW) method to identify the sparse direction includes solving the EBW with the following: $\begin{matrix} {z_{i}^{t + 1} = {{z_{i}^{t + 1}(D)} = \frac{\left( {c_{i} + D} \right)z_{i}^{t}}{{\sum\limits_{j}{c_{j}z_{j}^{t}}} + D}}} & (12) \end{matrix}$ where t, i and j are indexes, ${c_{j} = {{c_{j}\left( z^{t} \right)} = \frac{\partial{G\left( z^{t} \right)}}{\partial z_{j}^{t}}}},$ D is a constant that controls growth of function values, G is a differentiable function in z, which converges to a local maximum of G(z) in the domain Σz_(i)=1, z_(i)≦0.
 14. The computer readable storage medium as recited in claim 9, wherein determining a best gradient includes computing the gradient as max_(v)F(v₀ + v) − F(v₀) s.t.  v₀₁ < ɛ where F is the function, v is a direction, direction vector v belongs to a subspace that passes through the point v₀, and a sparsity constraint includes ∥v∥<ε where ε is a threshold for the sparsity constraint.
 15. The computer readable storage medium as recited in claim 9, wherein the function includes a function subject to a fractional normalized constrained inequality.
 16. The computer readable storage medium as recited in claim 15, further comprising: adding a dumb non-negative variable to map the constrained inequality into a fractionally constrained multi-dimensional sphere; transforming the fractional multi-dimensional sphere into a norm one sphere; mapping the norm one sphere into a simplex of non-negative numbers; and transforming an objective function over the norm one sphere into the objective function over the simplex.
 17. A system for optimization of a function with a large number of parameters, comprising: a processor configured to determine a best gradient as a sparse direction in a function having a plurality of parameters, the sparse direction including a direction that maximizes change of the function as determined by an optimization method where a sparse direction is defined from sparse regularized constraints; the processor being configured to determine a best step size along the sparse direction by solving an optimization problem to find magnitudes of entries of direction that are constrained to the sparse direction; and a memory storage device is configured to store a recursively refined optimization solution of the function.
 18. The system as recited in claim 17, further comprising a directional ball of a size ε which is employed as a constraint for determining the best direction in parameter space for the plurality of parameters.
 19. The system as recited in claim 18, wherein given the sparse direction, the processor determines a larger sized ball R along the sparse direction; and identifies a sub-optimal size inside R.
 20. The system as recited in claim 17, wherein the processor performs an extended Baum Welch to identify the sparse direction.
 21. The system as recited in claim 17, wherein a best gradient is determined by: max_(v)F(v₀ + v) − F(v₀) s.t.  v₁ < ɛ where F is the function, v is a direction, direction vector v belongs to a subspace that passes through the point v₀ and a sparsity constraint includes ∥v∥₁<ε where ε is a threshold for the sparsity constraint.
 22. The system as recited in claim 21, wherein an extended Baum Welch (EBW) method identifies the sparse direction by solving the EBW with the following: $\begin{matrix} {z_{i}^{t + 1} = {{z_{i}^{t + 1}(D)} = \frac{\left( {c_{i} + D} \right)z_{i}^{t}}{{\sum\limits_{j}{c_{j}z_{j}^{t}}}\; + D}}} & (12) \end{matrix}$ where t, i and j are indexes, ${c_{j} = {{c_{j}\left( z^{t} \right)} = \frac{\partial{G\left( z^{t} \right)}}{\partial z_{j}^{t}}}},$ D is a constant that controls growth of function values, G is a differentiable function in z, which converges to a local maximum of G(z) in the domain Σz_(i)=1, z_(i)≦0.
 23. The system as recited in claim 17, wherein the function includes a function subject to a fractional normalized constrained inequality.
 24. The system as recited in claim 17, wherein the function includes at least 100,000 parameters. 